// XSPhoneActiveXPpg.cpp : Implementation of the CXSPhoneActiveXPropPage property page class.

#include "stdafx.h"
#include "XSPhoneActiveX.h"
#include "XSPhoneActiveXPpg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


IMPLEMENT_DYNCREATE(CXSPhoneActiveXPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CXSPhoneActiveXPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CXSPhoneActiveXPropPage)
	// NOTE - ClassWizard will add and remove message map entries
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CXSPhoneActiveXPropPage, "XSPHONEACTIVEX.XSPhoneActiveXPropPage.1",
	0x2733a37d, 0x27ad, 0x4f5a, 0xb4, 0x3e, 0x16, 0xda, 0xbd, 0xf9, 0xc5, 0x1e)


/////////////////////////////////////////////////////////////////////////////
// CXSPhoneActiveXPropPage::CXSPhoneActiveXPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CXSPhoneActiveXPropPage

BOOL CXSPhoneActiveXPropPage::CXSPhoneActiveXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_XSPHONEACTIVEX_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CXSPhoneActiveXPropPage::CXSPhoneActiveXPropPage - Constructor

CXSPhoneActiveXPropPage::CXSPhoneActiveXPropPage() :
	COlePropertyPage(IDD, IDS_XSPHONEACTIVEX_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CXSPhoneActiveXPropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CXSPhoneActiveXPropPage::DoDataExchange - Moves data between page and properties

void CXSPhoneActiveXPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CXSPhoneActiveXPropPage)
	// NOTE: ClassWizard will add DDP, DDX, and DDV calls here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_MAP
	DDP_PostProcessing(pDX);
}


/////////////////////////////////////////////////////////////////////////////
// CXSPhoneActiveXPropPage message handlers
